package rpa

import (
	"context"
	rpaPb "git.mycaigou.com/gfyx/micro-gfyx-api/proto/micro_gfyx_oppty_service_proto/micro-gfyx-oppty-service/rpa"
)

/**
 * @Author: xiuliu
 * @Description:
 * @File:  rpa_config_repository_iface
 * @Version: 1.0.0
 * @Date: 2023/10/31 17:41
 */

type RpaRepositoryIface interface {
	//RPA初始化保存配置信息
	SaveRpaConfigData(ctx context.Context, request *rpaPb.SaveRpaConfigRequest) (*rpaPb.SaveRpaConfigResponse, error)
	// RPA启动验证
	RpaStart(ctx context.Context, request *rpaPb.RpaStartRequest) (*rpaPb.RpaStartResponse, error)
	//保存RPA项目信息
	SaveRpaProjectData(ctx context.Context, tenantCode, content string) (bool, error)

	CheckRpaProjectExist(ctx context.Context, tenantCode string, srcIds []string) ([]string, error)
}
